package com.dfrz.household.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_sever")

public class Server {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private String image;

    private String title;

    private Integer serid;

    private BigDecimal price;

    private Double discount;

    private Integer skillid;

    @TableField(exist = false)
    private List <ServerPerson> serverPerson;

    @TableField(exist = false)
    private List <ServerType> serverType;


  

}